| Plugin ID | 239 |
| Plugin name | Apache 2.0.47 to 2.0.49 ap_escape_html memory allocation denial of service |
| Plugin filename | Apache 2.0.47 to 2.0.49 ap_escape_html memory allocation denial of service.plugin |
| Plugin filesize | 3818 bytes |
| Plugin family | HTTP |
| Plugin created name | Marc Ruef |
| Plugin created email | marc dot ruef at computec dot ch |
| Plugin created web | http://www.computec.ch |
| Plugin created company | computec.ch |
| Plugin created date | 2004/09/16 |
| Plugin updated name | Marc Ruef |
| Plugin updated email | marc dot ruef at computec dot ch |
| Plugin updated web | http://www.computec.ch |
| Plugin updated company | computec.ch |
| Plugin updated date | 2004/11/14 |
| Plugin version | 2.0 |
| Plugin changelog | Corrected the plugin structure and added the accuracy values in 1.1. Added the product produce information in version 1.2. Improved the pattern matching and introduced the plugin changelog in 2.0 |
| Plugin protocol | tcp |
| Plugin port | 80 |
| Plugin procedure detection | open|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache/1.* OR HTTP/1.[0-1] ### *Server: Apache/2.0.[3-4][0-9]* |
| Plugin detection accuracy | 80 |
| Plugin comment | This vulnerability seems not to be very well documented. So perhaps Apache prior 2.0.47 are vulnerable too. Apache 1.x is not vulnerable for sure. |
| Bug published name | Georgi Guninski |
| Bug published email | guninski at guninski dot com |
| Bug published web | http://www.guninski.com |
| Bug published date | 2004/06/28 |
| Bug advisory | http://www.securityfocus.com/advisories/6915 |
| Bug produced name | Apache Software Foundation |
| Bug produced email | apache at apache dot org |
| Bug produced web | http://httpd.apache.org |
| Bug affected | Apache 2.0.47 to 2.0.49 |
| Bug not affected | Apache prior 2.0.47 or newer than 2.0.49 or other web servers |
| Bug vulnerability class | Buffer Overflow |
| Bug description | The remote host is running an Apache web server. Apache 2.0.47 to 2.0.49 is vulnerable to a buffer overflow in in excessively long HTTP header strings. It has been documented that only denial of service is possible. Running arbitrary code seems not to work. |
| Bug solution | If the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. |
| Bug fixing time | Approx. 30 minutes |
| Bug exploit availability | Yes |
| Bug exploit url | http://www.securityfocus.com/bid/10619/exploit/ |
| Bug remote | Yes |
| Bug local | Yes |
| Bug severity | Medium |
| Bug popularity | 4 |
| Bug simplicity | 5 |
| Bug impact | 8 |
| Bug risk | 5 |
| Bug check tools | BED by Martin J. M�nch and SnakeByte seems to detect this vulnerability. |
| Source CVE | CAN-2004-0493 |
| Source SecurityFocus BID | 10619 |
| Source RedHat Security Advisory ID | RHSA-2004-342 |
| Source Literature | Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427 |
| Source Misc. | http://www.securityfocus.com/advisories/6907 |